import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: require('@/pages/Login').default
    },
    {
      path: '/lt',
      name: 'logout',
      component: require('@/pages/Logout').default
    },
    {
      path: '/face-recognise',
      name: 'FaceRecognise',
      component: require('@/components/FaceRecognise').default
    },
    {
      path: '/zip',
      name: 'zip',
      component: require('@/pages/zip').default
    },
    {
      path: '/student-info',
      name: 'StudentInfo',
      component: require('@/pages/StudentInfo').default
    },
    {
      path: '/question', //
      name: 'Question',
      component: require('@/pages/Question').default
    },
    {
      path: '/landing-page',
      name: 'landing-page',
      component: require('@/components/LandingPage').default
    },
    {
      path: '/suspension',
      name: 'suspension',
      component: require('@/pages/Suspension').default
    },
    {
      path: '*',
      redirect: '/'
    }
  ]
})
